<?php echo form_open($this->curl . '/createFriend/'.$id, 'id="myform" name="myform" autocomplete="off"')?>
<br />
<table class="nostyle" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td>
		<?php echo $this->validation->error_string?>
		<table class="nostyle forma" width="100%" border="0" cellpadding="3" cellspacing="0">
		<tr>
			<th><?php $this->load->view('_elements/obligatory');?><?php echo $this->friends_model->fields['full_name']?></th>
			<td><div class="input_300"><?php echo form_input('full_name', $this->validation->full_name, 'class="input-text"')?></div></td>
		</tr>
		<tr>
			<th><?php $this->load->view('_elements/obligatory');?><?php echo $this->friends_model->fields['email']?></th>
			<td><div class="input_300"><?php echo form_input('email', $this->validation->email, 'class="input-text"')?></div></td>
		</tr>
        <tr>
			<th><?php $this->load->view('_elements/obligatory');?><?php echo $this->friends_model->fields['status']?></th>
			<td><div class="input_300"><?php echo form_dropdown('status', $this->friends_model->status, array($this->validation->status), null, TRUE)?></div></td>
		</tr>
		<tr>
			<td colspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td></td>
			<td>			
				<input name="edit" type="submit" class="btn btn_save" id="submit" value="<?php echo T_('Submit')?>" />
				<input name="reset"  type="reset"  class="btn btn_clear" id="reset" value="<?php echo T_('Reset')?>" onclick="$('#create_form input[type=text]').val('');" />
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>

<?php echo form_close()?>